package cn.itsource.system.domain.dto;

import cn.itsource.myinterface.Phone;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class PhoneUserFormRegisterDto {
    @NotEmpty(message = "手机号不能为空")
    @Phone
    private String phone;
    @NotEmpty(message = "手机验证码不能为空")
    private String phoneCode;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "确认密码不能为空")
    private String passwordRepeat;
}
